package com.bbjob.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.bbjob.model.QueOperation;
import com.bbjob.model.QueOperationWithBank;
import com.bbjob.util.BbjobMapper;

public interface QueOperationMapper extends BbjobMapper<QueOperation> {

	/**
	 * 获取选择判断，带卷子信息
	 * 
	 * @param name
	 *            客观题题干
	 * @param userid
	 *            用户id
	 * @param organCode
	 *            用户组织code
	 * @param type
	 *            1选择2判断
	 * @param status
	 *            0私有 1共有
	 * @param pageNo
	 * @param pageSize
	 * @return
	 */
	List<QueOperationWithBank> selectQueOperationWithBank(@Param("list") List<String> list,
			@Param("bankid") String bankid, @Param("name") String name, @Param("userid") Integer userid,
			@Param("organCode") String organCode, @Param("type") Integer type, @Param("status") Integer status,
			@Param("pageNo") Integer pageNo, @Param("pageSize") Integer pageSize);
}